﻿using System;

namespace YouHP.Model
{
    public class SymptomInfo : IHydratable
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string PinYin { get; set; }
        public string Intro { get; set; }
        public string Desp { get; set; }
        public DateTime UpdateTime { get; set; }
        public int Type {get; set;}
        public string MildDescription { get; set; }         /*轻度描述*/     
        public string ModerateDescription { get; set; }     /*中度描述*/
        public string SevereDescription { get; set; }       /*重度描述*/
        public int IsValid { get; set; }                    /*是否已经处理(0-未处理, 1-已处理)*/
        public int UserId { get; set; }                     /*上传用户id*/
        public int PatientCount { get; set; }

        //  典型病人
        public int PatientId { get; set; }
        public string PatientName { get; set; }
        public string PatientAvatar { get; set; }

        public int DiseaseId { get; set; }
        public string DiseaseName { get; set; }

        public SymptomInfo()
        {
            Id = -1;
            PatientCount = PatientId = 0;
            this.MildDescription = this.ModerateDescription = this.SevereDescription = PatientName = PatientAvatar = "";
        }

        #region IHydratable 成员
        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }
        #endregion
    }

    // 症状统计
    public class SymptomStatPatientCount : IHydratable
    {
        public int DiseaseId;
        public string DiseaseName;
        public int PatientCount;

        #region IHydratable 成员

        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }

        #endregion
    }


    // 描述症状程度  人数统计
    public class SymptomStatSeverityCount : IHydratable
    {
        public string SeverityName { get; set; }
        public int DegreeValue { get; set; }
        public int PatientCount { get; set; }
        public string colorStr { get; set; }

        #region IHydratable 成员

        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }

        #endregion
    }

    // 描述疾病分布 人数统计
    public class SymptomStatDiseaseCount : IHydratable
    {
        public int DiseaseId { get; set; }
        public string DiseaseName { get; set; }
        public int PatientCount { get; set; }

        #region IHydratable 成员
        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }
        #endregion
    }
}
